function jqeventos(){var x=0,color,y=0;jQuery(document).on('ready',function(){jQuery('.btAsociar').on('click',function(){if(x%2==0){jQuery('.e1').on('mouseover',function(){color=jQuery(this).css('background');jQuery(this).css('background','red')});jQuery('.e1').on('mouseout',function(){jQuery(this).css('background',color)});}else{jQuery('.jqcap14 .e1').off('mouseover');}
x+=1;});jQuery('.btAsociar2').on('click',function(){if(y%2==0){jQuery('.e2').on({'mouseover':function(){color=jQuery(this).css('background');jQuery(this).css('background','red')},'mouseout':function(){jQuery(this).css('background',color)}});}else{jQuery('.e2').off('mouseover');}
y+=1;});});}